package top.kuxiao.crmserver.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 服务创建 
 * </p>
 *
 * @author xiaozhang
 * @since 2022-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Services implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 服务id
     */
    @TableId(value = "services_id", type = IdType.AUTO)
    private Integer servicesId;

    /**
     * 服务类型

     */
    private String servicesType;

    /**
     * 概要

     */
    private String servicesOutline;

    /**
     * 详细要求

     */
    private String servicesRequirement;

    /**
     * 外键(客户)

     */
    private Integer customerId;

    /**
     * 客户管理
     * */
    @TableField(exist = false)
    private Customer customer;

    /**
     * 创建人

     */
    private String servicesCreator;

    /**
     * 创建时间

     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date servicesCreationTime;

    /**
     * 状态

     */
    private String servicesState;

    /**
     * 分配时间

     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date servicesAllocateTime;

    /**
     * 处理方法

     */
    private String servicesHandling;

    /**
     * 处理人

     */
    private String servicesConductor;

    /**
     * 处理时间

     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date servicesProcessingTime;

    /**
     * 客户反馈

     */
    private String servicesCustomerFeedback;

    /**
     * 客户满意度

     */
    private Integer servicesSatisfaction;

    /**
     * 反馈时间

     */
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(fallbackPatterns = "yyyy-MM-dd HH:mm:ss")
    private Date servicesFeedbackTime;


}
